package com.hoshiibuy.customerOperation.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 平台商品评价-图片及视频
 * </p>
 *
 * @author Mr.Wu
 * @since 2019-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ReviewsImages对象", description = "平台商品评价-图片及视频")
public class ReviewsImages extends Model<ReviewsImages> {

	private static final long serialVersionUID = 1L;

	private Long id;

	@ApiModelProperty(value = "评价id")
	private Integer reviewId;

	@ApiModelProperty(value = "缩略图")
	private String thumbnail;

	@ApiModelProperty(value = "原图")
	private String image;

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
